package util

import (
	"fmt"
	"time"
)

func TimeSince(startTime time.Time, endTime time.Time) int {
	duration := endTime.Sub(startTime)
	return int(duration.Seconds())
}

func PrintTime(content string) {
	fmt.Println(time.Now().Format("2006-01-02 15:04:05.000000000 MST Mon") + " => " + content)
}
